package com.workManager.service;

import com.github.pagehelper.PageInfo;
import com.workManager.pojo.TbCostEstimate;
import com.workManager.vo.CostEstimateVo;
import com.workManager.vo.CostVo;

import java.util.List;
import java.util.Map;

/**
 * Created by stran on 2017/11/1 0001.
 */
public interface CostEstimateService {
    List<CostEstimateVo> query(Map map);

    void add(TbCostEstimate costEstimate);

    void invalid(TbCostEstimate costEstimate);

    PageInfo<CostVo> list(Map<String, Object> map);

    Map<String, Object> queryByMonth(Map<String, Object> map);

    List<Map<String,Object>> orgList();

    void approval(List<Integer> ids);

    List<CostEstimateVo> queryGather(Map map);

    void approvalByOrg(Integer orgId, Integer projectId);
}
